package org.bulu.project.system.model.form;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

@Getter
@Setter
public class DeptForm {

    private Long id;

    private String name;

    private String code;

    @NotNull(message = "父部门ID不能为空")
    private Long parentId;

    private Integer status;

    private Integer sort;

}
